<div class="fadeIn">
          <br>
          <ol class="breadcrumb">
              <li class="active"><span class="glyphicon glyphicon-home" style="color:#23527c"></span>&nbsp;<mainpage></mainpage></li>
              <li class="active">监控工作台 / 短信平台监控 / 业务端监控</li>
          </ol>
          
          
     <div ng-init="now=0;">
	       <ul class="btn-groupTab clearfix">
	         <li style='width:15%' class="{{now==0?'activeTab':''}}" ng-click="now=0"><a>发送短信</a></li>
	         <li style='width:15%' class="{{now==1?'activeTab':''}}" ng-click="now=1"><a>接收短信</a></li>
	        <!--  <input type="button" value="Tab3" class="{{now==2?'activeTab':''}}" ng-click="now=2"> -->
	       </ul>
	       <div class="contentTab" ng-show="now==0">
	          <form class="form-inline" method="post" id="form" action="svrNodeReport/out-excel">
	                    <div class="marT15 left marR10">
	                        <span class="search-name">时间选择</span>
	                        <div class="controls">
	                         <div class="input-prepend input-group">
	                           <span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span><input type="text" readonly style="width: 155px" name="reservation" id="businessMonitorDate" class="form-control" value="2014-5-21 - 2014-6-21" /> 
	                           <span class="input-group-addon" ng-click='clearTime()'>清空</span>
	                         </div>
	                        </div>
	                    </div>
	                    <input type="text" class="hide" name='startDate' ng-model='searchData.startDate'>
	                    <input type="text" class="hide" name='endDate' ng-model='searchData.endDate'>
	                    <div class="left marT15 marR10">
	            <span class="search-name">业务端管理</span>
	            <select class="form-control1" ng-change='getSms()'  ng-model="searchData.svrNode" name="svrNode">
	                <option value="">全部</option>
	                <option value={{row.SVR_NODE}} ng-repeat="row in listData1">{{row.SVR_NODE_NAME}}</option>
	            </select>
	          </div>
	          <div class="left marR10 marT15">
	            <span class="search-name">短信类型</span>
	            <select class="form-control1 svrNode" ng-model="searchData.serviceCode" name="serviceCode">
	                <option value="">全部</option>
	                <option value={{row.serviceCode}} ng-repeat="row in listData2">{{row.serviceName}}</option>
	            </select>
	          </div>
	                   <a class=" btn btn-primary btn-sm left marT15" ng-click='search()'><span class="glyphicon glyphicon-search"></span></a>
	              
	          </form>
	          <div class="right marT15" style="position:relative">
	                        <button class="btn btn-sm btn-primary" ng-click='outExcel()'><img style="width:25px; height:20px;" src="img/excel.png">导出表格<span ng-style='loadStyle' class="outExcelLoad"><img  src="img/load.gif"></span>
	                        </button>
	          </div>
	
	      <div class="table-box">
	      
	            <table class="table table-bordered table-striped text-center bg-info marT15">
	                <thead >
	                <tr class="info">
	                    <th class="text-center">序号</th>
	                    <th class="text-center">日期</th>
	                    <th class="w85 text-center">业务端</th>
	                    <th class="w85 text-center">短信类型</th>
	                  <!--   <th class="text-center">连接状态</th>
	                    <th class="text-center">连接时长</th> -->
	                    <th class="w140 text-center">已发送短信（条）</th>
	                  <!--   <th class="text-center">缓存队列短信（条）</th> -->
	                   <!--  <th class="w140 text-center">待发送短信（条)</th> -->
	                    <th class="w140 text-center">发送成功短信(条)</th>
	                    <th class="w140 text-center">发送失败短信(条)</th>
	                    <th class="w140 text-center">发送成功率</th>
	                    <th class="w140 text-center">用户接收成功短信(条)</th>
	                    <th class="w140 text-center">用户接收失败短信(条)</th>
	                    <th class="w140 text-center">待返回结果短信(条)</th>
	                   <!--  <th class="w140 text-center">接收短信(条)</th> -->
	                </tr>
	                </thead>
	                <tbody>
	                <tr ng-repeat='item in result.list'>
	                    <td>{{$index+1}}</td>
	                    <td>{{item.sday}}</td>
	                    <td>{{item.svrNodeName}}</td>
	                    <td>{{item.serviceName}}</td>
	                <!--     <td class="w85">{{item.}}</td>
	                    <td class="w85">{{item.}}</td> -->
	                    <td><a>{{item.total}}<a></td>
	              <!--       <td class="w115"><a  >{{item.}}</a></td> -->
	                 <!--    <td><a>{{item.upNone}}</a></td> -->
	                    <td><a>{{item.sendSuc}}</a></td>
	                    <td><a>{{item.sendFail}} </a></td>
	                    <td>{{item.sendSucRate}}</td>
	                    <td><a>{{item.recvSuc}}</a></td>
	                    <td><a>{{item.recvFail}} </a>  </td>
	                    <td><a>{{item.recvNone}} </a> </td>
	                   <!--  <td><a>{{item.upTotal}} </a> </td> -->
	                   
	                </tr>
	                
	                <tr>                   
	                    <td colspan="4">汇总</td>
	                    <td>{{result.totalCount}}</td>
	                   <!--  <td>{{result.upNoneCount}}</td> -->
	                    <td>{{result.sendSucCount}}</td>
	                    <td>{{result.sendFailCount}}</td>
	                    <td>{{result.sendSucRateCount}}</td>
	                    <td>{{result.recvSucCount}}</td>
	                    <td>{{result.recvFailCount}}</td>
	                    <td>{{result.recvNoneCount}}</td>
	                   <!--  <td>{{result.upTotalCount}}</td>   -->                 
	                </tr>
	                </tbody>
	            </table>
	        </div>	          	       
		  </div>
	      <div class="contentTab" ng-show="now==1">
	          <form class="form-inline" method="post" id="form1" action="svrNodeReport/out-excel-up">
	                    <div class="marT15 left marR10">
	                        <span class="search-name">时间选择</span>
	                        <div class="controls">
	                         <div class="input-prepend input-group">
	                           <span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span><input type="text" readonly style="width: 155px" name="reservation" id="businessMonitorDate1" class="form-control" value="2014-5-21 - 2014-6-21" /> 
	                           <span class="input-group-addon" ng-click='clearTime1()'>清空</span>
	                         </div>
	                        </div>
	                    </div>
	                    <input type="text" class="hide" name='startDate' ng-model='searchData1.startDate'>
	                    <input type="text" class="hide" name='endDate' ng-model='searchData1.endDate'>
	                    <div class="left marT15 marR10">
	            <span class="search-name">业务端管理</span>
	            <select class="form-control1" ng-change='getSms1()'  ng-model="searchData1.svrNode" name="svrNode">
	                <option value="">全部</option>
	                <option value={{row.SVR_NODE}} ng-repeat="row in listData1">{{row.SVR_NODE_NAME}}</option>
	            </select>
	          </div>
	          <!-- <div class="left marR10 marT15">
	            <span class="search-name">短信类型</span>
	            <select class="form-control1 svrNode" ng-model="searchData1.serviceCode" name="serviceCode">
	                <option value="">全部</option>
	                <option value={{row.serviceCode}} ng-repeat="row in listData2">{{row.serviceName}}</option>
	            </select>
	          </div> -->
	                   <a class=" btn btn-primary btn-sm left marT15" ng-click='search1()'><span class="glyphicon glyphicon-search"></span></a>
	              
	          </form>
	          <div class="right marT15" style="position:relative">
	                        <button class="btn btn-sm btn-primary" ng-click='outExcel1()'><img style="width:25px; height:20px;" src="img/excel.png">导出表格<span ng-style='loadStyle1' class="outExcelLoad"><img  src="img/load.gif"></span>
	                        </button>
	          </div>
	
	      <div class="table-box">
	      
	            <table class="table table-bordered table-striped text-center bg-info marT15">
	                <thead >
	                <tr class="info">
	                    <th class="text-center">序号</th>
	                    <th class="text-center">日期</th>
	                    <th class="w85 text-center">业务端</th>
	                   <!--  <th class="w85 text-center">短信类型</th> -->
	                  <!--   <th class="text-center">连接状态</th>
	                    <th class="text-center">连接时长</th> -->
	                    <!-- <th class="w140 text-center">已发送短信（条）</th> -->
	                  <!--   <th class="text-center">缓存队列短信（条）</th> -->
	                   <!--  <th class="w140 text-center">待发送短信（条)</th> -->
	                    <!-- <th class="w140 text-center">发送成功短信(条)</th>
	                    <th class="w140 text-center">发送失败短信(条)</th>
	                    <th class="w140 text-center">发送成功率</th>
	                    <th class="w140 text-center">用户接收成功短信(条)</th>
	                    <th class="w140 text-center">用户接收失败短信(条)</th>
	                    <th class="w140 text-center">待返回结果短信(条)</th> -->
	                    <th class="w140 text-center">接收短信(条)</th>
	                </tr>
	                </thead>
	                <tbody>
	                <tr ng-repeat='item in result1.list'>
	                    <td>{{$index+1}}</td>
	                    <td>{{item.sday}}</td>
	                    <td>{{item.svrNodeName}}</td>
	                  <!--   <td>{{item.serviceName}}</td> -->
	                <!--     <td class="w85">{{item.}}</td>
	                    <td class="w85">{{item.}}</td> -->
	                 <!--    <td><a>{{item.total}}<a></td> -->
	              <!--       <td class="w115"><a  >{{item.}}</a></td> -->
	                 <!--    <td><a>{{item.upNone}}</a></td> -->
	                    <!-- <td><a>{{item.sendSuc}}</a></td>
	                    <td><a>{{item.sendFail}} </a></td>
	                    <td>{{item.sendSucRate}}</td>
	                    <td><a>{{item.recvSuc}}</a></td>
	                    <td><a>{{item.recvFail}} </a>  </td>
	                    <td><a>{{item.recvNone}} </a> </td> -->
	                    <td><a>{{item.upTotal}} </a> </td>
	                   
	                </tr>
	                
	                <tr>                   
	                    <td colspan="3">汇总</td>
	                    <!-- <td>{{result.totalCount}}</td> -->
	                   <!--  <td>{{result.upNoneCount}}</td> -->
	                    <!-- <td>{{result.sendSucCount}}</td>
	                    <td>{{result.sendFailCount}}</td>
	                    <td>{{result.sendSucRateCount}}</td>
	                    <td>{{result.recvSucCount}}</td>
	                    <td>{{result.recvFailCount}}</td>
	                    <td>{{result.recvNoneCount}}</td> --> 
	                    <td>{{result1.upTotalCount}}</td>                  
	                </tr>
	                </tbody>
	            </table>
	        </div>	        	       
	      </div>
      </div>
      
      



           
        </div>
<!-- 加载框 -->
  <span class='loaded' ng-show='loaded'><img  src="img/load.gif"></span>
<!-- 加载框 完成-->




